package com.css.fxfzfxqh.modules.buildings.definitiveEvaluation.casualtiesDE.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Dbj
 * @date 2023年08月08日  14:17
 */
@Data
public class CasualtiesResult {
    //主键id
    private String id;
    //评估记录id
    private String assessId;
    //评估记录编号
    private String assessCode;
    //省名称
    private String provinceName;
    //市名称
    private String cityName;
    //县名称
    private String countyName;
    //地理id(虚拟ID) 或 房屋单体数据ID
    private String geographyId;
//    //人员伤亡(死亡重伤)
//    private String casualties;
    //白天死亡人数
    private BigDecimal dayDeath;
    //晚上死亡人数
    private BigDecimal nightDeath;
    //白天重伤人数
    private BigDecimal dayInjure;
    //晚上重伤人数
    private BigDecimal nightInjure;
    //经验评估与修正值day_death
    private BigDecimal dayInjureCorrectionValue;
    private BigDecimal dayDeathCorrectionValue;
    private BigDecimal nightInjureCorrectionValue;
    private BigDecimal nightDeathCorrectionValue;
    private String geom;
    //condition地震输入方式为烈度时存的是6-10度烈度；地震影响场时存的是影响场烈度的id
    private String condition;
    //当condition为影响场时，存的是影响场烈度
    private String intensity;
    private String structure;
    //格网总面积
    private BigDecimal totalArea;
    //评估人
    private String createUser;
    //评估时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private  String delFlag;
    //影响场或概率水准的版本
    private String version;
    //根据extends1获取13张表中同属于一个房屋格网的数据
    private String extends1;
    private String flag;

}
